package com.fap.core.data;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface DataAction {

	public DataEntity getObject(int id);
	public List<DataEntity> query(DataEntity param, int pageId, int pageSize);
	public List<DataEntity> query(DataEntity param);
	public int getPrimaryKey();
	public void insert(DataEntity data);
	public void insertBatch(List<DataEntity> datas);
	public void update(DataEntity data);
	public void delete(DataEntity data);	
}
